ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Profile Switcher

by tonsky ALL

Profile Switcher for Sublime Text

Labels preferences

Details

Installs

  • Total 2K
  • Win 665
  • Mac 801
  • Linux 310
Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12
Windows 0 1 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 2 1 0 1 0 0 1 0 1 2 1 2 1 1 2 2 1 0 2 1 1 1 0 0 0 0
Mac 0 0 0 0 1 0 0 0 0 1 0 0 2 0 0 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 0
Linux 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 1 0 0 0 0 0 2 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1

Readme

Source
raw.​githubusercontent.​com

Profile Switcher for Sublime Text

Problem

Code is best viewed in a narrow, tight font, with syntax highlighting, line numbers etc.

Prose writing is best done in wide font, generous line spacing, dim colors, width-limited column.

Sublime Text is great for both, but changing settings back and forth quickly becomes teduious.

Meet Profiles! Save all the settings you’ve changed at once and quickly return to them when needed.

Installation

Package Control: Install PackageProfile Switcher.

Usage

Create a new profile via Profiles: Create Profile command.

Edit your Sublime Text settings as usual.

Switch back to previous profile via Profiles: Switch Profile.

Bind a key to Profiles: Toggle Last Used Profile to switch even more quickly:

{ "keys": ["ctrl+w"], "command": "toggle_profile"}

Features

  • Each profile remembers all the settings: font, scheme, line metrics, gutter, etc.
  • Any number of profiles.
  • Instant switching.
  • Minimal (“automagical”) UI.

How does it work?

Profiles maintain a copy of Preferences.sublime-settings, one per profile.

When switching to the profile, current Preferences.sublime-settings is saved, and profile version is copied over current Preferences.sublime-settings.

Inactive profiles are stored in ~/Library/Application Support/Sublime Text/Packages/sublime-profiles.

See also

Writer Color Scheme: A color scheme optimized for long-form writing.

Alabaster Color Scheme: Minimal color scheme for coding.

Fira Code: Best coding font in the world.

Changelog

1.1.0 Mar 2, 2021: Added Rename and Delete commands.

1.0.0 Feb 22, 2021: Initial.

Credits

Made by Niki Tonsky.

License

MIT License